<?php
class validation {
	
	function __construct() {
		
	}
	//magic quote
	function escape_data($data) {
		if(ini_get('magic_quotes_gpc')) {
			return $data = stripslashes($data);
		} else {
			return $data;
		}
		
	}
	
}
?>